package com.liaowei.post.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liaowei.model.domain.PostUser;
import com.liaowei.model.param.PostCommentStatusParam;

/**
* @author LindaMan
* @description 针对表【wy_post_user(帖子-用户表)】的数据库操作Mapper
* @createDate 2023-05-11 08:31:59
* @Entity com.liaowei.post.model.domain.PostUser
*/
public interface PostUserMapper extends BaseMapper<PostUser> {

    // 更改评论状态
    int updateCommentStatus(PostCommentStatusParam commentStatusParam);

    // 查询用户的评论状态
    int selectCommentStatus(PostCommentStatusParam commentStatusParam);

    // 查询用户的收藏状态
    int selectCollectStatusByUserId(Long userId);
}




